import request from '@/utils/request';

export const Login = (data) => request({
  method: 'POST',
  url: '/front/user/login',
  data: new URLSearchParams(data).toString(),
});

export const getUserInfo = () => request({
  method: 'GET',
  url: '/front/user/getInfo',
});

export default {};
